package com.zjp;

import com.google.common.base.Preconditions;
import org.junit.jupiter.api.Test;


public class CheckArgumentTest {


    @Test
    public void t1() {


        String str = null;

        //Preconditions.checkNotNull(str,"expected a non-null reference");

        Preconditions.checkArgument(1 == 1, "结果正确");

        Preconditions.checkArgument(1 == 2, "结果错误");


        // Verify.verifyNotNull()
    }

}
